#ifndef GAME_HPP
#define GAME_HPP

class Game {
private:
    const int rounds;
    const int fields;
    const int colors;

    int round;

    int *pattern;
    int *reply;

    void reserveMemory();

    void createPattern();
    void initGame();

    void createReply(int *ans);

public:
    Game(int rounds, int fields, int colors);

    //game
    int* Round(int *ans);
    int isEnd();
    void gameReset();

    //getters
    int getRounds();
    int getFields();
    int getColors();

    int getRound();
};

#endif
